package com.yc.springmvc.service.Impl;

import java.util.List;

import com.yc.springmvc.core.annotation.Autowired;
import com.yc.springmvc.core.annotation.Service;


import com.yc.springmvc.bean.UserInfo;
import com.yc.springmvc.mapper.IUserInfoMapper;
import com.yc.springmvc.service.IUserInfoService;

@Service//说明这是业务层
public class UserInfoServiceImpl implements IUserInfoService{
	@Autowired
	private IUserInfoMapper userInfoMapper;
	
	
	public UserInfo login(UserInfo uf) {
		return userInfoMapper.login(uf);
	}
	
	
	public List<UserInfo> finds(){
		return userInfoMapper.finds();
	}

}
